﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace TRAnimation
{
    public class AnimatedModelData
    {
        Matrix[] bonesBindPose;
        Matrix[] bonesInverseBindPose;
        int[] bonesParent;

        AnimationData[] animations;

        public Matrix[] BonesBindPose
        {
            get { return bonesBindPose; }
            set { bonesBindPose = value; }
        }

        public Matrix[] BonesInverseBindPose
        {
            get { return bonesInverseBindPose; }
            set { bonesInverseBindPose = value; }
        }

        public int[] BonesParent
        {
            get { return bonesParent; }
            set { bonesParent = value; }
        }

        public AnimationData[] Animations
        {
            get { return animations; }
            set { animations = value; }
        }

        public AnimatedModelData(Matrix[] bonesBindPose,
            Matrix[] bonesInverseBindPose, int[] bonesParent,
            AnimationData[] animations)
        {
            this.bonesBindPose = bonesBindPose;
            this.bonesInverseBindPose = bonesInverseBindPose;
            this.bonesParent = bonesParent;
            this.animations = animations;
        }
    }
}
